Skip to main content

IRedisSortedSet<T>

Assembly: ServiceStack.Interfaces.dll
View Source
Declaration
public interface IRedisSortedSet<T> : ICollection<T>, IEnumerable<T>, IEnumerable, IHasStringId, IHasId<string>

Methods

Add(T, Double)

View Source
Declaration
void Add(T item, double score)
Parameters
TypeName
<T>item
System.Doublescore

PopItemWithHighestScore()

View Source
Declaration
T PopItemWithHighestScore()
Returns

<T>

PopItemWithLowestScore()

View Source
Declaration
T PopItemWithLowestScore()
Returns

<T>

IncrementItem(T, Double)

View Source
Declaration
double IncrementItem(T item, double incrementBy)
Returns

System.Double

Parameters
TypeName
<T>item
System.DoubleincrementBy

IndexOf(T)

View Source
Declaration
int IndexOf(T item)
Returns

System.Int32

Parameters
TypeName
<T>item

IndexOfDescending(T)

View Source
Declaration
long IndexOfDescending(T item)
Returns

System.Int64

Parameters
TypeName
<T>item

GetAll()

View Source
Declaration
List<T> GetAll()
Returns

System.Collections.Generic.List<<T>>

GetAllDescending()

View Source
Declaration
List<T> GetAllDescending()
Returns

System.Collections.Generic.List<<T>>

GetRange(Int32, Int32)

View Source
Declaration
List<T> GetRange(int fromRank, int toRank)
Returns

System.Collections.Generic.List<<T>>

Parameters
TypeName
System.Int32fromRank
System.Int32toRank

GetRangeByLowestScore(Double, Double)

View Source
Declaration
List<T> GetRangeByLowestScore(double fromScore, double toScore)
Returns

System.Collections.Generic.List<<T>>

Parameters
TypeName
System.DoublefromScore
System.DoubletoScore

GetRangeByLowestScore(Double, Double, Nullable<Int32>, Nullable<Int32>)

View Source
Declaration
List<T> GetRangeByLowestScore(double fromScore, double toScore, int? skip, int? take)
Returns

System.Collections.Generic.List<<T>>

Parameters
TypeName
System.DoublefromScore
System.DoubletoScore
System.Nullable<System.Int32>skip
System.Nullable<System.Int32>take

GetRangeByHighestScore(Double, Double)

View Source
Declaration
List<T> GetRangeByHighestScore(double fromScore, double toScore)
Returns

System.Collections.Generic.List<<T>>

Parameters
TypeName
System.DoublefromScore
System.DoubletoScore

GetRangeByHighestScore(Double, Double, Nullable<Int32>, Nullable<Int32>)

View Source
Declaration
List<T> GetRangeByHighestScore(double fromScore, double toScore, int? skip, int? take)
Returns

System.Collections.Generic.List<<T>>

Parameters
TypeName
System.DoublefromScore
System.DoubletoScore
System.Nullable<System.Int32>skip
System.Nullable<System.Int32>take

RemoveRange(Int32, Int32)

View Source
Declaration
long RemoveRange(int minRank, int maxRank)
Returns

System.Int64

Parameters
TypeName
System.Int32minRank
System.Int32maxRank

RemoveRangeByScore(Double, Double)

View Source
Declaration
long RemoveRangeByScore(double fromScore, double toScore)
Returns

System.Int64

Parameters
TypeName
System.DoublefromScore
System.DoubletoScore

GetItemScore(T)

View Source
Declaration
double GetItemScore(T item)
Returns

System.Double

Parameters
TypeName
<T>item

PopulateWithIntersectOf(IRedisSortedSet<T>[])

View Source
Declaration
long PopulateWithIntersectOf(params IRedisSortedSet<T>[] setIds)
Returns

System.Int64

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSortedSet`1[]setIds

PopulateWithIntersectOf(IRedisSortedSet<T>[], String[])

View Source
Declaration
long PopulateWithIntersectOf(IRedisSortedSet<T>[] setIds, string[] args)
Returns

System.Int64

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSortedSet`1[]setIds
System.String[]args

PopulateWithUnionOf(IRedisSortedSet<T>[])

View Source
Declaration
long PopulateWithUnionOf(params IRedisSortedSet<T>[] setIds)
Returns

System.Int64

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSortedSet`1[]setIds

PopulateWithUnionOf(IRedisSortedSet<T>[], String[])

View Source
Declaration
long PopulateWithUnionOf(IRedisSortedSet<T>[] setIds, string[] args)
Returns

System.Int64

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSortedSet`1[]setIds
System.String[]args